<?php 
class control_home extends control  {

	public function dologinvalid()
	{	
	}
	
	public function doinit(){   
		gourl(get_url('admin/login'));//直接跳到登录　
		//var_dump($this->config);
		//db_factory::get_instance();
		//view::set('test','1');
		//var_dump($this->config->db['default']);
	  	   // view::set('language',$language);
     /*   $Modtest=$this->moduleDb->onload('test');
        
		$language=$this->language->onloadLan('init');

        if(cache::excache('123')){
        	$list=$Modtest->testList(true);
        	$pageHtml=pageHTML::getHtml($language);
            cache::createCache('123',array('list'=>$list,'pagehtml'=>$pageHtml));
        }else{
            $list=cache::readerCache('123','list');
            $pageHtml=cache::readerCache('123','pagehtml');
        }
       
       $p= $this->request->get['p'];

        $list=$Modtest->testList(true);      
        $pageHtml=pageHTML::getHtml($language);  
            
        view::set('language',$language);  
        view::set('pageHtml',$pageHtml);      
	    view::set('test',$list);
	    view::set('test2','981');
	    view::tpl('test.php');
	    view::render();*/
	}
	
	
}
?>